package be.webchess.www.actions;

import java.security.MessageDigest;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.ServletActionContext;
import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.ServletResponseAware;
import org.apache.tiles.TilesContainer;
import org.apache.tiles.access.TilesAccess;

import be.webchess.www.utils.MessageDigestHelper;

import com.opensymphony.xwork2.ActionSupport;

public class SHomeAction extends BaseAction {


	
	private String err_msg = "";
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7893436163402190309L;

	public SHomeAction() {
		// TODO Auto-generated constructor stub

        
	}
	
	public String execute ()
	{
		//err_msg = "Just a simple error test";
		
		this.addActionError("This is a test error");
		
		return SUCCESS;
	}

	@Override
	public String getTitle() {
		// TODO Auto-generated method stub
		return "Home";
	}

	@Override
	public String getContent() {
		return "/WEB-INF/jsp/test.jsp";
	}

	@Override
	public String getErrorTitle() {
		// TODO Auto-generated method stub
		return "HOME ERROR";
	}

	@Override
	public String getHeadExtra() {
		// TODO Auto-generated method stub
		return "";
	}
	
	/**/
	


	
	/**/
	

}
